package com.plum.admin.modules.message.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.util.List;

import com.plum.admin.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 子丶沫
 * @since 2021-09-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_message")
@ApiModel(value="SysMessage对象", description="SysMessage对象")
public class SysMessage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息类型")
    @TableField("message_type")
    private Integer messageType;

    @ApiModelProperty(value = "消息标题")
    @TableField("message_title")
    private String messageTitle;

    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;

    @TableField("create_by")
    private String createBy;

    @TableField("update_by")
    private String updateBy;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField(exist = false)
    private Boolean isResend;

    @TableField("remark")
    private String remark;

    @TableField(exist = false)
    private List<String> receiveIdList;
}
